/**
 * 
 */
package by.jtraining.london.repo;

import by.jtraining.london.repo.Impl.AdminRepositoryImpl;
//import by.jtraining.london.repo.Impl.GenericRepositoryImpl;
import by.jtraining.london.repo.Impl.LectorRepositoryImpl;
import by.jtraining.london.repo.Impl.StudentRepositoryImpl;
import by.jtraining.london.repo.Impl.UserRepositoryImpl;

import com.google.inject.AbstractModule;

/**
 * @author Irina Pakhomova
 * 
 */
public final class PersistModule extends AbstractModule {
	@Override
	protected void configure() {
		bind(StudentRepository.class).to(StudentRepositoryImpl.class);
		bind(LectorRepository.class).to(LectorRepositoryImpl.class);
		bind(AdminRepository.class).to(AdminRepositoryImpl.class);
		bind(UserRepository.class).to(UserRepositoryImpl.class);
//		bind(GenericRepository.class).to(GenericRepositoryImpl.class).in(Scopes.SINGLETON);		
	}
}
